package com.hkyl.hospital.mapper;

import com.hkyl.hospital.entity.PatientOperation;
import com.hkyl.hospital.entity.PatientOperationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatientOperationMapper {
    int countByExample(PatientOperationExample example);

    int deleteByExample(PatientOperationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PatientOperation record);

    int insertSelective(PatientOperation record);

    List<PatientOperation> selectByExample(PatientOperationExample example);

    PatientOperation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PatientOperation record, @Param("example") PatientOperationExample example);

    int updateByExample(@Param("record") PatientOperation record, @Param("example") PatientOperationExample example);

    int updateByPrimaryKeySelective(PatientOperation record);

    int updateByPrimaryKey(PatientOperation record);
}